
<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.*" %>
<%!
%>
<jsp:useBean id="transactHandler" class="test.TransactFormBean" scope="request">
<jsp:setProperty name="transactHandler" property="*"/>
</jsp:useBean>
<%

transactHandler.custid=(String)session.getAttribute("custid");
if (transactHandler.validate()&&transactHandler.match()) {
%>
<%
%>

<jsp:forward page="transactsuccess.jsp"/>


<%
} else {
%>
<jsp:forward page="transact.jsp"/>
<%
}
%>